package com.ruoyi.common.enums;

public enum Yn {

    ENABLE(1, "有效"),

    DISABLE(0, "无效");

    private final Integer code;
    private final String desc;

    Yn(Integer code, String desc)
    {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode()
    {
        return code;
    }

    public String getDesc()
    {
        return desc;
    }
}
